







[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Sorts the list in place. A supplied Comparison<T> delegate is used
to compare the items in the list.
Namespace: Wintellect.PowerCollections
Assembly:
PowerCollections (in PowerCollections.dll)
Syntax
C# |
---|
public void Sort( Comparison<T> comparison ) |
Visual Basic (Declaration) |
---|
Public Sub Sort ( _ comparison As Comparison(Of T) _ ) |
Visual C++ |
---|
public: void Sort ( Comparison<T>^ comparison ) |
Parameters
- comparison
- Comparison<(Of <T>)>
The comparison delegate used to compare items in the collection.
Remarks
The Quicksort algorithms is used to sort the items. In virtually all cases,
this takes time O(N log N), where N is the number of items in the list.
See Also
BigList<(Of <T>)> Class
Wintellect.PowerCollections Namespace